package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc BffEvaObjTargetCycleTargetSetDto
     * @使用场景
     */
    @Data
    public class BffEvaObjTargetCycleTargetSetDto  implements Serializable {
      
    /**
     * 被评对象目标周期ID 
     */
    @ApiModelProperty("被评对象目标周期ID")
    private String	 evaObjTargetCycleId;

    /**
     * 是否要求周期安排 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否要求周期安排")
    private String	 isReqCycleRange;

    /**
     * 周期ID 
     */
    @ApiModelProperty("周期ID")
    private String	 cycleId;

    /**
     * 目标周期简称 
     */
    @ApiModelProperty("目标周期简称")
    private String	 cyclelAlias;

    /**
     * 周期名称 
     */
    @ApiModelProperty("周期名称")
    private String	 cycleStandardName;

    /**
     * 周期结束时间 
     */
    @ApiModelProperty("周期结束时间")
    private Date	 cycleEndTime;

    /**
     * 周期类型实例简称 
     */
    @ApiModelProperty("周期类型实例简称")
    private String	 cycleNumberShortName;

    /**
     * 是否父周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否父周期")
    private String	 isParentCycle;

    /**
     * 是否子周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否子周期")
    private String	 isSubCycle;

    /**
     * 是否中期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否中期")
    private String	 isMetaphase;

    /**
     * 被评对象目标设置ID 
     */
    @ApiModelProperty("被评对象目标设置ID")
    private String	 evaObjOsetId;

    /**
     * 目标值 
     */
    @ApiModelProperty("目标值")
    private Double	 targetValue;

    /**
     * 诊断值 
     */
    @ApiModelProperty("诊断值")
    private Double	 targetDiagnosticValue;

    /**
     * 冗余单位 
     */
    @ApiModelProperty("冗余单位")
    private String	 unit;

    /**
     * 运算符号 GREATER_THAN:大于 LESS_THAN:小于 EQUAL:等于 GREATER_EQUAL_THAN:大于等于 LESS_EQUAL_THAN:小于等于 ALL_NOT_EQUAL:均不低于 ALL_NOT_GREATER:均不高于
     */
    @ApiModelProperty("运算符号")
    private String	 logicalOperator;

    /**
     * 目标周期规划设置ID 
     */
    @ApiModelProperty("目标周期规划设置ID")
    private String	 targetCyclePlanSetId;

    /**
     * 计划验收时间 
     */
    @ApiModelProperty("计划验收时间")
    private Date	 acceptancePlanTime;
/**
     * 展示目标值 
     */
    @ApiModelProperty("展示目标值")
    private Double	 showTargetValue;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffEvaObjTargetCycleTargetSetDto that = (BffEvaObjTargetCycleTargetSetDto) o;
      return  evaObjTargetCycleId == that.evaObjTargetCycleId&&isReqCycleRange == that.isReqCycleRange&&cycleId == that.cycleId&&cyclelAlias == that.cyclelAlias&&cycleStandardName == that.cycleStandardName&&cycleEndTime == that.cycleEndTime&&cycleNumberShortName == that.cycleNumberShortName&&isParentCycle == that.isParentCycle&&isSubCycle == that.isSubCycle&&isMetaphase == that.isMetaphase&&evaObjOsetId == that.evaObjOsetId&&targetValue == that.targetValue&&targetDiagnosticValue == that.targetDiagnosticValue&&unit == that.unit&&logicalOperator == that.logicalOperator&&targetCyclePlanSetId == that.targetCyclePlanSetId&&acceptancePlanTime == that.acceptancePlanTime&&showTargetValue == that.showTargetValue;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), evaObjTargetCycleId,isReqCycleRange,cycleId,cyclelAlias,cycleStandardName,cycleEndTime,cycleNumberShortName,isParentCycle,isSubCycle,isMetaphase,evaObjOsetId,targetValue,targetDiagnosticValue,unit,logicalOperator,targetCyclePlanSetId,acceptancePlanTime,showTargetValue);
    }
    
      

    }
   